package cn.yunhe.dao;
import cn.yunhe.entity.FatherType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FatherTypeDao {

    List<FatherType> findFatherType();

    boolean addFatherType(FatherType fatherType);
    boolean  deleteFatherType(int typeid);
    boolean updateFatherType(@Param("typename") String typename, @Param("typeid") int typeid);
 }
